package com.borrow.jiemihua.bean;

import java.util.List;

/**
 * Created by 18339 on 2017/12/19.
 */

public class MainBannerBean {

    /**
     * count : 0
     * data : [{"bannerName":"首冲大优惠","description":"首页轮播banner1","groupName":"index_top_banner","hoverTip":"首冲大优惠","id":5,"linkUrl":"/menu","picUrl":"http://www.pic.com/","redirectType":2},{"bannerName":"邀请好友","description":"首页轮播banner2","groupName":"index_top_banner","hoverTip":"邀请赚金币","id":6,"linkUrl":"http://www.link.com/","picUrl":"http://www.pic.com/","redirectType":1}]
     * isRedirect : 0
     * isSuccess : 1
     * login : 0
     */

    private int count;
    private int isRedirect;
    private int isSuccess;
    private int login;
    private List<DataBean> data;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getIsRedirect() {
        return isRedirect;
    }

    public void setIsRedirect(int isRedirect) {
        this.isRedirect = isRedirect;
    }

    public int getIsSuccess() {
        return isSuccess;
    }

    public void setIsSuccess(int isSuccess) {
        this.isSuccess = isSuccess;
    }

    public int getLogin() {
        return login;
    }

    public void setLogin(int login) {
        this.login = login;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * bannerName : 首冲大优惠
         * description : 首页轮播banner1
         * groupName : index_top_banner
         * hoverTip : 首冲大优惠
         * id : 5
         * linkUrl : /menu
         * picUrl : http://www.pic.com/
         * redirectType : 2
         */

        private String bannerName;
        private String description;
        private String groupName;
        private String hoverTip;
        private int id;
        private String linkUrl;
        private String picUrl;
        private int redirectType;

        public String getBannerName() {
            return bannerName;
        }

        public void setBannerName(String bannerName) {
            this.bannerName = bannerName;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getGroupName() {
            return groupName;
        }

        public void setGroupName(String groupName) {
            this.groupName = groupName;
        }

        public String getHoverTip() {
            return hoverTip;
        }

        public void setHoverTip(String hoverTip) {
            this.hoverTip = hoverTip;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getLinkUrl() {
            return linkUrl;
        }

        public void setLinkUrl(String linkUrl) {
            this.linkUrl = linkUrl;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public int getRedirectType() {
            return redirectType;
        }

        public void setRedirectType(int redirectType) {
            this.redirectType = redirectType;
        }
    }
}
